package cn.vehicle.domains.vo.res.sysRole;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(description = "角色查询响应结果")
public class SysRoleRes {

    @Schema(name = "id", description = "角色ID")
    private Long id;

    @Schema(name = "roleCode", description = "角色编码")
    private String roleCode;

    @Schema(name = "roleName", description = "角色名称")
    private String roleName;

    @Schema(name = "status", description = "角色状态（ACTIVE：启用，INACTIVE：停用，DELETED：删除）")
    private String status;

    @Schema(name = "createTime", description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

}